package dk.itu.mmad.travelapp5;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class OnWeb extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_on_web);
		WebView www = (WebView) findViewById(R.id.web);
		www.setWebViewClient(new WebViewClient());
		www.loadUrl("http://www.dsb.dk");
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.on_web, menu);
		return true;
	}

}
